package com.yfp.client.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yfp.client.domain.AiModelConfig;
import com.yfp.client.mapper.AiModelConfigMapper;
import com.yfp.client.service.AiModelConfigService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 *
 * @description 针对表【ai_model_config(AI模型配置表)】的数据库操作Service实现
 * @createDate 2025-02-25 15:10:18
 */
@Service
public class AiModelConfigServiceImpl extends ServiceImpl<AiModelConfigMapper, AiModelConfig> implements AiModelConfigService {

    @Resource
    private AiModelConfigMapper aiModelConfigMapper;

    @Override
    public AiModelConfig searchActiveModel(Long aiModelServiceId) {
        return aiModelConfigMapper.searchActiveModel(aiModelServiceId);
    }
}




